package com.tgy.dao;

import com.tgy.entity.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/***
 * @ClassName: DeptDao
 * @Description:
 * @Auther: 送一一块二向箔
 * @Date: 19:39 2022/1/10
 * @version : V1.0
 */
@Mapper
public interface DeptDao {

    List<Dept> getAll(Dept dept);

    Integer add(Dept dept);

    Integer upd(Dept dept);

    Integer del(Long id);
}
